﻿using System;
using System.Collections.Generic;

namespace Biz.Data.Entities;

public partial class OrderInfo
{
    public string OrderId { get; set; } = null!;

    /// <summary>
    /// 买方
    /// </summary>
    public string Buyer { get; set; } = null!;

    /// <summary>
    /// 卖方
    /// </summary>
    public string Seller { get; set; } = null!;

    /// <summary>
    /// 订单总额
    /// </summary>
    public decimal TotalAmount { get; set; }

    /// <summary>
    /// 实际交易额
    /// </summary>
    public decimal TradeAmount { get; set; }

    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 交易时间
    /// </summary>
    public DateTime? TradeTime { get; set; }

    /// <summary>
    /// 付款方式
    /// </summary>
    public string? PayMode { get; set; }

    /// <summary>
    /// 已付
    /// </summary>
    public bool Paid { get; set; }

    public virtual ICollection<OrderItemInfo> OrderItemInfo { get; set; } = new List<OrderItemInfo>();
}
